
Pod::Spec.new do |s|


  s.name         = "VoiceConvert"
  s.version      = "0.0.1"
  s.summary      = "iOS amr to wav"

  s.description  = <<-DESC
		将音频amr文件转为wav。添加pod支持
                   DESC

  s.homepage     = "http://git.oschina.net/tyrad/VoiceConvertPodsDemo"
  s.license      = "MIT"
  s.author             = { "chen chuang" => "tyrad@qq.com" }
  s.platform     = :ios, "8.0"
  s.source       = { :git => "https://git.oschina.net/tyrad/VoiceConvertPodsDemo.git", :tag => s.version.to_s }


  # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  s.subspec 'VoiceConvert' do |voiceConvert|
      voiceConvert.source_files = 'VoiceConvert/**/*'
      voiceConvert.public_header_files = 'VoiceConvert/**/*.h'
  end

  s.subspec 'amrwapper' do |amrwapper|
      amrwapper.source_files = 'VoiceConvert/amrwapper/**/*'
      amrwapper.public_header_files = 'VoiceConvert/amrwapper/**/*.h'
  end

  s.subspec 'opencore-amrnb' do |opencore_amrnb|
      opencore_amrnb.source_files = 'VoiceConvert/opencore-amrnb/**/*'
      opencore_amrnb.public_header_files = 'VoiceConvert/opencore-amrnb/**/*.h'
  end

  s.subspec 'opencore-amrwb' do |opencore_amrwb|
      opencore_amrwb.source_files = 'VoiceConvert/opencore-amrwb/**/*'
      opencore_amrwb.public_header_files = 'VoiceConvert/opencore-amrwb/**/*.h'
  end

  # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  s.frameworks = "Foundation"
  s.vendored_libraries = ['VoiceConvert/opencore-amrnb/libopencore-amrnb.a',
                          'VoiceConvert/opencore-amrwb/libopencore-amrwb.a']


  # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  s.requires_arc = true
end
